package com.shenqi.language.converter;

import com.shenqi.language.domain.Category;
import com.shenqi.language.domain.Uservip;
import com.shenqi.language.vo.CategoryVO;
import com.shenqi.language.vo.UservipVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper(componentModel = "spring")
public interface UservipVOConverter {
    UservipVOConverter INSTANCE = Mappers.getMapper(UservipVOConverter.class);
    UservipVO toVO(Uservip uservip);
    List<UservipVO> toVOList(List<Uservip> categoryList);
}
